export class BaseException extends Error {
  // 状态码
  status: number;
  // 提示信息
  message: string;
}

/*
export class  extends BaseException {
  status = 404;

  constructor(msg?: string) {
    super();
    this.message = msg || '无此内容';
  }
}
*/

export class DeliveryNotFoundException extends BaseException {
  status = 404;

  constructor(msg?: string) {
    super();
    this.message = msg || '送货单未找到';
  }
}

export default {
  DeliveryNotFoundException
}
